{
  "CN": "etcd",
  "hosts": [ 
{% for host in groups['etcd'] %}
    "{{hostvars[host]['ansible_host']}}",
{% endfor %}
    "127.0.0.1"
  ],
  "key": {
    "algo": "rsa",
    "size": 2048
  },
  "names":[{
    "C": "{{tls_etcd_ca_csr_names_C}}",
    "ST": "{{tls_etcd_ca_csr_names_ST}}",
    "L": "{{tls_etcd_ca_csr_names_L}}",
    "O": "{{tls_etcd_ca_csr_names_O}}"
  }]
}